package com.neu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.neu.entity.Fmeditem;




@Mapper
public interface FmeditemMapper {

	public int addFmeditem(Fmeditem fmeditem);

	public int deleteFmeditem(@Param("id") int id);

	public int delFmeditemByIds(@Param("ids") Integer[] ids);

	public int updateFmeditem(Fmeditem fmeditem);
	
	public List<Fmeditem> pageFmeditem(@Param("page") int page,@Param("limit") int limit,@Param("itemName") String itemName);
	
	public int pageFmeditemTotal(@Param("itemName") String itemName);

	public List<Fmeditem> findAll();

	public int batchInsert(List<Fmeditem> list);

	public List<Fmeditem> selectById(int id);
		
}
